package com.crl.rcdp.common.service;

import com.cars.util.bean.ComboboxVO;
import com.crl.rcdp.common.dao.CommonComboDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: 孔垂云
 * @version: 1.0
 * @date: 2020/7/23 23:10
 */
@Service
public class CommonComboService {
    @Autowired
    private CommonComboDao commonComboDao;

    /**
     * 代码生成器中用户列表
     *
     * @return
     */
    public List<ComboboxVO> listGenAuthor() {
        return commonComboDao.listGenAuthor();
    }

    /**
     * 代码生成器中数据表列表
     *
     * @return
     */
    public List<ComboboxVO> listGenTable(int authorId) {
        return commonComboDao.listGenTable(authorId);
    }

    /**
     * 代码生成器中数据表列表
     *
     * @return
     */
    public List<ComboboxVO> listApitype() {
        return commonComboDao.listApitype();
    }
}
